﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Chinaer.DTO
{
    /// <summary>
    /// 中心公告DTO
    /// </summary>
    [Serializable]
    [DataContract]
    public class ZhongXinGongGaoDTO : TokenDTO
    {
        /// <summary>
        /// 所属管理员编号  发布中心公告的管理员编号
        /// </summary>
        [DataMember]
        public string AdministratorID { get; set; }
        /// <summary>
        /// 商家端编号
        /// </summary>
        [DataMember]
        public string ShangJiaID { get; set; }
        
        /// <summary>
        /// 标题
        /// </summary>
        [DataMember]
        public string Title { get; set; }

        /// <summary>
        /// 公告内容
        /// </summary>
        [DataMember]
        public string Content { get; set; }
        /// <summary>
        /// 有效期
        /// </summary>
        [DataMember]
        public DateTime? YouXiaoQi { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [DataMember]
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 是否阅读中心公告
        /// </summary>
        private bool? _isReadZhongXinGongGao = false;
        /// <summary>
        /// 商家端是否阅读中心公告编号
        /// </summary>
        [DataMember]
        public bool? IsReadZhongXinGongGao
        {
            get
            {
                return _isReadZhongXinGongGao;
            }
            set
            {
                _isReadZhongXinGongGao = value;
            }

        }



    }
}
